package org.learnredis.university;

import org.apache.commons.lang3.StringUtils;

public class FullNameComparatorUniversity implements UniversityComparator {

    @Override
    public int compare(University s1, University s2) {
        String s1Name = s1.getFullName();
        String s2Name = s2.getFullName();
        return StringUtils.compare(s1Name, s2Name);
    }
}
